Computing Minimum Edit Distance